package com.soul.doc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.soul.doc.bean.dto.CommentDto;
import com.soul.doc.bean.dto.LikeCommentDto;
import com.soul.doc.bean.po.CommentPo;
import com.soul.common.service.CommService;
import com.soul.doc.bean.vo.CommentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sws
 * @since 2023-12-16 19:27:59
 */
public interface CommentService extends CommService<CommentPo> {

    IPage<CommentVo> queryComment(Integer page, Integer size, CommentDto commentDto);

    CommentVo addComment(CommentDto commentDto);

    void deleteComment(Long id);

    CommentVo addLike(LikeCommentDto commentDto);
}
